package com.song.su.mapper;

import com.song.su.model.AdminUser;
import com.song.su.model.User;import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {


    @Select("select * from admin where username=#{username} and password=#{password}")
    AdminUser findByPasswd(@Param("username") String username,@Param("password") String password);

}
